<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets">
    <body style="background-color: white;">
	  <f:view contentType="text/html">
		<h:form>
        <h:panelGrid columns="2"/>
	  <h:outputLabel value="Konu: "/>
	  <p:inputText value="#{CourseBean.header}"/>
	  <h:outputLabel value="Maili giriniz: "/>
	  <p:editor value="#{CourseBean.textMail}"/>
	  <p:commandButton ajax="false" value="Gönder" action="#{CourseBean.sendEmail()}"/>
		</h:form>
	  </f:view>
    </body>
</html>